package org.glut.backend.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.glut.backend.domain.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.glut.backend.vo.OrderListVO;

import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author xiuci1412
 * @since 2025-08-07 14:26
 */
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {


    IPage<OrderListVO> getList(Page<OrderListVO> orderListVOPage, @Param("userId") Integer userId);
}